package com.hl.icd.bean;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "mapping")
@NameStyle(value = Style.normal)
public class Mapping {
    @Id
    private String id;
    private String icdXCode;
    private String icdXDesc;
    private String icdYCode;
    private String icdYDesc;
    private String icdYName;
    private String mappingTypeText;
    private String expressionDegreeText;
    private String xVid;
    private String yVid;

    @JsonProperty(value = "xVid")
    public String getxVid() {
        return xVid;
    }

    @JsonProperty(value = "xVid")
    public void setxVid(String xVid) {
        this.xVid = xVid;
    }

    @JsonProperty(value = "yVid")
    public String getyVid() {
        return yVid;
    }

    @JsonProperty(value = "yVid")
    public void setyVid(String yVid) {
        this.yVid = yVid;
    }
}
